home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-17 / cvga256.zip / VGA256.H < prev    next >
Text File  |  1993-01-04  |  1KB  |  33 lines

  1. /*****************************************/
  2. /* Defines for  VGA256.BGI   driver      */
  3. /*        By:  Markham Thomas            */
  4. /*        Feb 3, 1989                    */
  5. /*****************************************/
  6.  
  7. /*****************************************/
  8. /*  NOTE:  This driver will work         */
  9. /*         in all memory models except   */
  10. /*         tiny.                         */
  11. /*                                       */
  12. /*   P.S. only use flashmodes with       */
  13. /*       TSENG LABS based VGA boards.    */
  14. /*****************************************/
  15.  
  16.  
  17. #define  DVGA320x200   0               /* Designer VGA graphics modes */
  18. #define  DVGA640x480   1
  19. #define  DVGA800x600   2
  20.  
  21.  typedef struct {                      /* RGB structure */
  22.     char Red;
  23.     char Green;
  24.     char Blue;
  25.  } RGB;
  26.  
  27.  typedef char DACarray[256][3];        /* Array to hold DAC register values */
  28.  
  29.  enum { red=0,grn=1,blu=2 };           /* possible array indices for R, G, B */
  30.  
  31. void               _Cdecl VGA256_driver(void);
  32. extern int far  _Cdecl VGA256_driver_far[];
  33.